package com.xiaozhengkeji.springcloud.ezcloud;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 用户服务模块api
 */
@SpringBootApplication
//开启服务发现
@EnableDiscoveryClient
//启用OpenFeign客户端
@EnableFeignClients
public class OAuth2ServerApp {
    public static void main(String[] args) {
        System.out.println("EZCloud OAuth2 Server 启动中!");
        SpringApplication.run(OAuth2ServerApp.class, args);
    }
}
